divide using the box method